package com.dmgis.hndz.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import lombok.Data;

/**
 * 小时将水表
 * @TableName qxaa01a
 */
@TableName(value ="qxaa01a")
@Data
public class Qxaa01a implements Serializable {
    /**
     * 站点编号
     */
    @TableId(value = "qxaa01a010")
    private String qxaa01a010;

    /**
     * 观测时间
     */
    @TableField(value = "qxaa01a050")
    private String qxaa01a050;

    /**
     * 站点名称
     */
    @TableField(value = "qxaa01a020")
    private String qxaa01a020;

    /**
     * 市
     */
    @TableField(value = "qxaa01a030")
    private String qxaa01a030;

    /**
     * 县
     */
    @TableField(value = "qxaa01a040")
    private String qxaa01a040;

    /**
     * 乡
     */
    @TableField(value = "qxaa01a060")
    private String qxaa01a060;

    /**
     * 经度
     */
    @TableField(value = "qxaa01a070")
    private Double qxaa01a070;

    /**
     * 纬度
     */
    @TableField(value = "qxaa01a080")
    private Double qxaa01a080;

    /**
     * 高程
     */
    @TableField(value = "qxaa01a090")
    private Integer qxaa01a090;

    /**
     * 小时降水
     */
    @TableField(value = "qxaa01a100")
    private Double qxaa01a100;

    /**
     * 易发等级
     */
    @TableField(value = "qxaa01a110")
    private Integer qxaa01a110;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Qxaa01a other = (Qxaa01a) that;
        return (this.getQxaa01a010() == null ? other.getQxaa01a010() == null : this.getQxaa01a010().equals(other.getQxaa01a010()))
            && (this.getQxaa01a050() == null ? other.getQxaa01a050() == null : this.getQxaa01a050().equals(other.getQxaa01a050()))
            && (this.getQxaa01a020() == null ? other.getQxaa01a020() == null : this.getQxaa01a020().equals(other.getQxaa01a020()))
            && (this.getQxaa01a030() == null ? other.getQxaa01a030() == null : this.getQxaa01a030().equals(other.getQxaa01a030()))
            && (this.getQxaa01a040() == null ? other.getQxaa01a040() == null : this.getQxaa01a040().equals(other.getQxaa01a040()))
            && (this.getQxaa01a060() == null ? other.getQxaa01a060() == null : this.getQxaa01a060().equals(other.getQxaa01a060()))
            && (this.getQxaa01a070() == null ? other.getQxaa01a070() == null : this.getQxaa01a070().equals(other.getQxaa01a070()))
            && (this.getQxaa01a080() == null ? other.getQxaa01a080() == null : this.getQxaa01a080().equals(other.getQxaa01a080()))
            && (this.getQxaa01a090() == null ? other.getQxaa01a090() == null : this.getQxaa01a090().equals(other.getQxaa01a090()))
            && (this.getQxaa01a100() == null ? other.getQxaa01a100() == null : this.getQxaa01a100().equals(other.getQxaa01a100()))
            && (this.getQxaa01a110() == null ? other.getQxaa01a110() == null : this.getQxaa01a110().equals(other.getQxaa01a110()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getQxaa01a010() == null) ? 0 : getQxaa01a010().hashCode());
        result = prime * result + ((getQxaa01a050() == null) ? 0 : getQxaa01a050().hashCode());
        result = prime * result + ((getQxaa01a020() == null) ? 0 : getQxaa01a020().hashCode());
        result = prime * result + ((getQxaa01a030() == null) ? 0 : getQxaa01a030().hashCode());
        result = prime * result + ((getQxaa01a040() == null) ? 0 : getQxaa01a040().hashCode());
        result = prime * result + ((getQxaa01a060() == null) ? 0 : getQxaa01a060().hashCode());
        result = prime * result + ((getQxaa01a070() == null) ? 0 : getQxaa01a070().hashCode());
        result = prime * result + ((getQxaa01a080() == null) ? 0 : getQxaa01a080().hashCode());
        result = prime * result + ((getQxaa01a090() == null) ? 0 : getQxaa01a090().hashCode());
        result = prime * result + ((getQxaa01a100() == null) ? 0 : getQxaa01a100().hashCode());
        result = prime * result + ((getQxaa01a110() == null) ? 0 : getQxaa01a110().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", qxaa01a010=").append(qxaa01a010);
        sb.append(", qxaa01a050=").append(qxaa01a050);
        sb.append(", qxaa01a020=").append(qxaa01a020);
        sb.append(", qxaa01a030=").append(qxaa01a030);
        sb.append(", qxaa01a040=").append(qxaa01a040);
        sb.append(", qxaa01a060=").append(qxaa01a060);
        sb.append(", qxaa01a070=").append(qxaa01a070);
        sb.append(", qxaa01a080=").append(qxaa01a080);
        sb.append(", qxaa01a090=").append(qxaa01a090);
        sb.append(", qxaa01a100=").append(qxaa01a100);
        sb.append(", qxaa01a110=").append(qxaa01a110);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}
